package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tt.com.common.enums.TollEnum;

/**
    * 逝者服务项目表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_funeral_dead_project")
public class DeadProject {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 目标id（例如所属冷藏任务id）
     */
    @TableField(value = "target_id")
    private String targetId;

    /**
     * 收费项目id
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 逝者id
     */
    @TableField(value = "dead_id")
    private String deadId;

    /**
     * 发票号
     */
    @TableField(value = "invoice_number")
    private String invoiceNumber;

    /**
     * 清单号
     */
    @TableField(value = "inventory_number")
    private String inventoryNumber;

    /**
     * 单价
     */
    @TableField(value = "unit_price")
    private BigDecimal unitPrice;

    /**
     * 数量
     */
    @TableField(value = "`count`")
    private BigDecimal count;

    /**
     * 费用
     */
    @TableField(value = "cost")
    private BigDecimal cost;

    /**
     * 实收费用
     */
    @TableField(value = "fruit_cost")
    private BigDecimal fruitCost;

    /**
     * 惠民补助费用
     */
    @TableField(value = "subsidy_price")
    private BigDecimal subsidyPrice;

    /**
     * 收费时间
     */
    @TableField(value = "chargeable_time")
    private Date chargeableTime;

    /**
     * xiaolin
     * 收费情况
     * 2022/9/2 15点48 枚举类型
     */
    @TableField(value = "chargeable_status")
    private TollEnum chargeableStatus;

    /**
     * 物品出库情况
     */
    @TableField(value = "out_stock_status")
    private Integer outStockStatus;

    /**
     * 收费业务员
     */
    @TableField(value = "chargeable_user_id")
    private String chargeableUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 机构id
     */
    @TableField(value = "organ_id")
    private String organId;

    /**
     * 优惠减免
     */
    @TableField(value = "discount_amount")
    private BigDecimal discountAmount;

    /**
     * 物品备注
     */
    @TableField(value = "`comment`")
    private String comment;

    public static final String COL_ID = "id";

    public static final String COL_TARGET_ID = "target_id";

    public static final String COL_PROJECT_ID = "project_id";

    public static final String COL_DEAD_ID = "dead_id";

    public static final String COL_INVOICE_NUMBER = "invoice_number";

    public static final String COL_INVENTORY_NUMBER = "inventory_number";

    public static final String COL_UNIT_PRICE = "unit_price";

    public static final String COL_COUNT = "count";

    public static final String COL_COST = "cost";

    public static final String COL_FRUIT_COST = "fruit_cost";

    public static final String COL_SUBSIDY_PRICE = "subsidy_price";

    public static final String COL_CHARGEABLE_TIME = "chargeable_time";

    public static final String COL_CHARGEABLE_STATUS = "chargeable_status";

    public static final String COL_OUT_STOCK_STATUS = "out_stock_status";

    public static final String COL_CHARGEABLE_USER_ID = "chargeable_user_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";

    public static final String COL_DISCOUNT_AMOUNT = "discount_amount";

    public static final String COL_COMMENT = "comment";
}